export function logout() {
    axios.get('/users/logout').then(res => {
        location.reload();
    })
}